<?php
$m = new Mongo();
$collection = $m->bbbb->fff;


$cursor = $collection->find(array('value1'=>1));

		$rets = array();
		foreach ($cursor as $value) {

				$value["_id"] = $value["_id"]->__toString();

			$rets[] = $value;
		}
		print_r($rets) ;	